using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;

namespace BackA2.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class Test1Controller : ControllerBase
    {

        public Test1Controller( )
        {
        }

        [HttpGet]
        [Authorize(AuthenticationSchemes = "Bearer")]
        public int Get()
        {
            return 1;
        }
    }
}
